﻿<UserControl x:Class="Akabana.Sample.Greeting.Silverlight.ClientApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:Akabana.Sample.Greeting.Silverlight.ClientApp"  
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    
    <UserControl.Resources>
        <ResourceDictionary>
        </ResourceDictionary>
    </UserControl.Resources>    
    <Grid x:Name="LayoutRoot">
        <ComboBox Name="PersonType" DisplayMemberPath="Label" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" Width="120">
        </ComboBox>
        <Button HorizontalAlignment="Left" Margin="132,8,0,0" VerticalAlignment="Top" Width="75" Content="挨拶" Click="Button_Click"/>
        <Grid x:Name="LayoutResult" Margin="0,34,0,0">
            <TextBlock Name="DebugText" Margin="8,44,8,8" TextWrapping="Wrap" FontSize="16"/>
            <TextBlock Name="GreetingText" Margin="8,8,8,0" Text="{Binding word, Mode=OneWay}" TextWrapping="Wrap" Height="32" VerticalAlignment="Top" FontSize="16"/>
        </Grid>
    </Grid>
</UserControl>
